package dpatterns.strategy.simduck.ducks;

import dpatterns.strategy.simduck.behaviors.fly.FlyBehavior;
import dpatterns.strategy.simduck.behaviors.sound.SoundBehavior;

public abstract class Duck {
	
	protected FlyBehavior fly;
	protected SoundBehavior sound;
	
	public void swim() {
		System.out.println("I swim paddle, paddle, paddle!");
	}
	
	public void sound() {
		sound.sound();
	}
	
	public void fly() {
		fly.fly();
	}
	
	public abstract void display();
	
}
